/******************************************************************************
 * (C) Copyright 2013 Atech-Automotive
 * FILE NAME:    uds_diag_routine_fun.h
 * DESCRIPTION:
 * 
 * DATE BEGUN:   2016/07/08
 * BY:           hui.liu
 * PRODUCT NAME:
 * APPLICATION:
 * TARGET H/W:
 * DOC REF:
 ******************************************************************************/
 
#ifndef _UDS_DIAG_ROUTINE_FUN_H_
#define _UDS_DIAG_ROUTINE_FUN_H_

/* #include */
#include "system.h"

#pragma CODE_SEG  OTHER_ROM

/* Routine ctrl type */
typedef enum /* Don't change  */
{
    START_ROUTINE       = 0x01,
    STOP_ROUTINE        = 0x02,
    REQ_ROUTINE_RESULTS = 0x03,
} RoutineCtrl_Cmd_E;

typedef enum
{
    ROUTINE_Read_5781RamByAddr = 0x00 ,
    ROUTINE_Read_5781EEByAddr ,
    ROUTINE_Turn_Calibration_ID,
    ROUTINE_Sleep_model,

    NUMER_OF_ROUNTINUE_ID,

} ROUTINE_CTRL_ID_E;

#define DIAG_ROUTINE_CTRL_ID_TABLE   

#pragma CODE_SEG  DEFAULT

/****************************************************************************/
#endif	


